package vip.youngboy.freejump.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import vip.youngboy.freejump.domain.bus.BusColumn;

import java.util.List;

@Repository
public interface BusColRepository extends JpaRepository<String, BusColumn> {

    int deleteByBusTable_Id(String tableId);

    List<BusColumn> findAllByBusTable_Id(String tableId);

}
